<?php echo form_open_multipart(uri_string())?>    
<?php $item = $query;?>
    <table class="form">
         
        <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('contact.full_name');?></td>
            <td><input type="text" name="full_name" id="full_name" class="w250" value="<?php echo $item->full_name?>" ></td>
        </tr> 
         <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('contact.company');?></td>
            <td><input type="text" name="company" id="company" class="w250" value="<?php echo $item->company?>"></td>
        </tr> 
        
         <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('contact.address');?></td>
            <td><input type="text" name="address" id="address" class="w250" value="<?php echo $item->address?>"></td>
        </tr>
          <tr>
            <td class="label" style="width: 150px;"><?php echo lang('contact.phone');?></td>
            <td><input type="text" name="phone" id="phone" class="w250" value="<?php echo $item->phone?>"></td>
        </tr>
        <tr>
            <td class="label" style="width: 150px;"><?php echo lang('contact.email');?></td>
            <td><input type="text" name="email" id="email" class="w250" value="<?php echo $item->email?>"></td>
        </tr>
        <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('contact.content');?></td>
            <td>
           		 <textarea name="content" class="mceAdvanced" style="width:800px; height:300px;"><?php echo $item->content?></textarea>
            </td>
        </tr>
        <tr>
            <td class="label"><?php echo lang('active_deactive');?></td>
            <td><input type="checkbox" name="bl_active" id="bl_active" checked  value="1"  onclick="setCheckboxValue(this);"></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="bt_submit" value="" class="capnhat">
            </td>
        </tr>  
    </table>
<?php echo form_close()?>